home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 January / macformat-020.iso / Shareware City / Developers / apps.to.go / •AppsToGo Reference / •AppsToGo Reference.rsrc / WFMT_584_a2A7 < prev    next >
Unknown  |  1994-07-14  |  1.9 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert Jesper Olsen Module (music/jesperOlsen) magic Supported
1% dexvert TTComp Archive (archive/ttcomp) fallback Supported
100% file TTComp archive data, binary, 2K dictionary default (weak)
99% file data default
66% TrID TTComp archive compressed (bin-2K) default (weak)
33% TrID Adobe PhotoShop Brush default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 05 00 01 00 00 00 1a | 00 00 00 00 00 00 00 1a |........|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 05 00 05 00 00 |........|........|
|00000030| 00 25 00 00 0a c1 00 00 | 00 25 61 32 41 37 00 00 |.%......|.%a2A7..|
|00000040| 4e 16 00 00 20 19 00 00 | 00 00 00 00 00 00 00 00 |N... ...|........|
|00000050| 00 00 0b 50 75 74 4c 6f | 6e 67 44 61 74 61 00 00 |...PutLo|ngData..|
|00000060| 06 00 00 00 00 00 a2 00 | 00 0a c2 00 00 00 a2 00 |........|........|
|00000070| 00 00 14 03 c1 00 28 05 | 7e 00 ff 00 00 00 00 00 |......(.|~.......|
|00000080| 00 0f a8 00 00 00 00 4e | 1c 00 00 00 09 00 00 00 |.......N|........|
|00000090| 04 00 04 ff fc ff fa 00 | 04 00 04 ff fc ff fc 00 |........|........|
|000000a0| 00 00 00 00 00 00 00 83 | 00 0b 40 10 6b 53 63 72 |........|..@.kScr|
|000000b0| 65 65 6e 41 50 49 2f 31 | 39 39 39 36 00 06 47 65 |eenAPI/1|9996..Ge|
|000000c0| 6e 65 76 61 00 00 48 4f | 53 45 72 72 20 50 75 74 |neva..HO|SErr Put|
|000000d0| 4c 6f 6e 67 44 61 74 61 | 28 54 72 65 65 4f 62 6a |LongData|(TreeObj|
|000000e0| 48 6e 64 6c 20 68 6e 64 | 6c 2c 20 6c 6f 6e 67 20 |Hndl hnd|l, long |
|000000f0| 6f 66 66 73 65 74 2c 20 | 76 6f 69 64 20 2a 64 61 |offset, |void *da|
|00000100| 74 61 2c 20 6c 6f 6e 67 | 20 73 69 7a 65 29 3b 00 |ta, long| size);.|
|00000110| 00 00 06 00 00 00 00 00 | b4 00 00 0a c3 00 00 00 |........|........|
|00000120| b4 00 00 00 00 03 c1 00 | 14 05 7e 00 ff 00 00 00 |........|..~.....|
|00000130| 00 00 00 0f a8 00 00 00 | 00 4e 1d 00 00 00 09 00 |........|.N......|
|00000140| 00 00 04 00 04 ff fc ff | fa 00 04 00 04 ff fc ff |........|........|
|00000150| fc 00 00 00 00 00 00 00 | 00 83 00 0b 40 14 6b 53 |........|....@.kS|
|00000160| 63 72 65 65 6e 4f 6e 65 | 4c 69 6e 65 2f 31 39 39 |creenOne|Line/199|
|00000170| 39 37 00 06 47 65 6e 65 | 76 61 00 00 56 53 74 6f |97..Gene|va..VSto|
|00000180| 72 65 20 62 6c 6f 63 6b | 20 6f 66 20 6c 6f 6e 67 |re block| of long|
|00000190| 20 64 61 74 61 20 28 6c | 65 6e 67 74 68 20 77 68 | data (l|ength wh|
|000001a0| 69 63 68 20 6d 61 79 20 | 62 65 20 3e 20 36 34 6b |ich may |be > 64k|
|000001b0| 29 20 69 6e 74 6f 20 6f | 62 6a 65 63 74 2c 20 72 |) into o|bject, r|
|000001c0| 65 70 6c 61 63 69 6e 67 | 20 6f 6c 64 20 62 6c 6f |eplacing| old blo|
|000001d0| 63 6b 2e 00 00 00 06 00 | 00 00 00 00 44 00 00 0a |ck......|....D...|
|000001e0| c4 00 00 00 44 00 00 00 | 00 02 6b 04 40 02 6c 01 |....D...|..k.@.l.|
|000001f0| 00 00 00 00 00 00 01 0f | f1 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 0c 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 06 00 00 00 00 00 |........|........|
|00000230| 8e 00 00 0a c5 00 00 00 | 8e 00 00 00 00 02 6b 02 |........|......k.|
|00000240| 28 03 c1 00 ff 00 00 00 | 00 00 00 0f a8 00 00 00 |(.......|........|
|00000250| 00 4e 16 00 00 00 09 00 | 00 00 04 00 04 ff fc ff |.N......|........|
|00000260| fa 00 04 00 04 ff fc ff | fc 00 00 00 00 00 00 00 |........|........|
|00000270| 00 83 00 0b 40 0b 6c 69 | 6e 6b 73 2f 31 39 39 39 |....@.li|nks/1999|
|00000280| 30 00 06 4d 6f 6e 61 63 | 6f 00 00 23 61 32 41 37 |0..Monac|o..#a2A7|
|00000290| 2c 50 75 74 4c 6f 6e 67 | 44 61 74 61 0d 61 32 41 |,PutLong|Data.a2A|
|000002a0| 39 2c 50 75 74 53 68 6f | 72 74 44 61 74 61 0d 00 |9,PutSho|rtData..|
|000002b0| 16 00 01 00 00 00 00 00 | 10 00 0c 00 01 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 06 00 00 00 00 04 a6 00 |........|........|
|000002d0| 00 0a c6 00 00 04 a6 00 | 00 00 00 00 00 75 30 02 |........|.....u0.|
|000002e0| 6b 01 ff 00 00 00 00 00 | 00 0f a8 00 00 00 00 4e |k.......|.......N|
|000002f0| 1f 00 00 00 09 00 00 00 | 04 00 04 ff fc ff fa 00 |........|........|
|00000300| 04 00 04 ff fc ff fc 00 | 00 00 00 00 00 00 00 83 |........|........|
|00000310| 00 0b 40 0a 62 6f 64 79 | 2f 31 39 39 39 39 00 06 |..@.body|/19999..|
|00000320| 4d 6f 6e 61 63 6f 00 04 | 14 4f 53 45 72 72 20 50 |Monaco..|.OSErr P|
|00000330| 75 74 4c 6f 6e 67 44 61 | 74 61 28 54 72 65 65 4f |utLongDa|ta(TreeO|
|00000340| 62 6a 48 6e 64 6c 20 68 | 6e 64 6c 2c 20 6c 6f 6e |bjHndl h|ndl, lon|
|00000350| 67 20 6f 66 66 73 65 74 | 2c 20 76 6f 69 64 20 2a |g offset|, void *|
|00000360| 64 61 74 61 2c 20 6c 6f | 6e 67 20 73 69 7a 65 29 |data, lo|ng size)|
|00000370| 3b 0d 0d 49 4e 50 55 54 | 3a 20 20 68 6e 64 6c 20 |;..INPUT|: hndl |
|00000380| 20 20 20 20 20 20 20 4f | 62 6a 65 63 74 20 74 6f | O|bject to|
|00000390| 20 73 74 6f 72 65 20 64 | 61 74 61 20 69 6e 74 6f | store d|ata into|
|000003a0| 2e 0d 20 20 20 20 20 20 | 20 20 6f 66 66 73 65 74 |.. | offset|
|000003b0| 20 20 20 20 20 20 4f 66 | 66 73 65 74 20 28 66 72 | Of|fset (fr|
|000003c0| 6f 6d 20 62 65 67 69 6e | 6e 69 6e 67 20 6f 66 20 |om begin|ning of |
|000003d0| 64 61 74 61 20 61 72 65 | 61 29 20 6f 66 20 77 68 |data are|a) of wh|
|000003e0| 65 72 65 20 74 6f 20 73 | 74 6f 72 65 20 64 61 74 |ere to s|tore dat|
|000003f0| 61 2e 0d 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |a.. | |
|00000400| 20 20 20 20 20 20 20 4e | 6f 74 65 20 74 68 61 74 | N|ote that|
|00000410| 20 74 68 69 73 20 69 73 | 20 61 20 72 65 70 6c 61 | this is| a repla|
|00000420| 63 65 20 61 63 74 69 6f | 6e 2c 20 73 6f 20 74 68 |ce actio|n, so th|
|00000430| 65 72 65 20 6e 65 65 64 | 73 20 74 6f 20 62 65 20 |ere need|s to be |
|00000440| 61 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |a. | |
|00000450| 20 20 20 20 20 20 6c 6f | 6e 67 20 64 61 74 61 20 | lo|ng data |
|00000460| 65 6c 65 6d 65 6e 74 20 | 61 6c 72 65 61 64 79 20 |element |already |
|00000470| 61 74 20 6f 66 66 73 65 | 74 2e 20 20 20 20 0d 20 |at offse|t. . |
|00000480| 20 20 20 20 20 20 20 64 | 61 74 61 20 20 20 20 20 | d|ata |
|00000490| 20 20 20 50 6f 69 6e 74 | 65 72 20 74 6f 20 6c 6f | Point|er to lo|
|000004a0| 6e 67 20 64 61 74 61 2e | 0d 20 20 20 20 20 20 20 |ng data.|. |
|000004b0| 20 73 69 7a 65 20 20 20 | 20 20 20 20 20 53 69 7a | size | Siz|
|000004c0| 65 20 6f 66 20 64 61 74 | 61 2e 0d 52 45 53 55 4c |e of dat|a..RESUL|
|000004d0| 54 3a 20 4f 53 45 72 72 | 0d 0d 54 68 69 73 20 69 |T: OSErr|..This i|
|000004e0| 73 20 75 73 65 64 20 74 | 6f 20 73 74 6f 72 65 20 |s used t|o store |
|000004f0| 62 6c 6f 63 6b 73 20 6f | 66 20 64 61 74 61 20 69 |blocks o|f data i|
|00000500| 6e 74 6f 20 74 68 65 20 | 64 61 74 61 20 61 72 65 |nto the |data are|
|00000510| 61 20 6f 66 20 74 68 65 | 20 6f 62 6a 65 63 74 2e |a of the| object.|
|00000520| 20 20 4e 6f 74 65 20 74 | 68 61 74 20 74 68 69 73 | Note t|hat this|
|00000530| 0d 6f 70 65 72 61 74 69 | 6f 6e 20 72 65 70 6c 61 |.operati|on repla|
|00000540| 63 65 73 20 74 68 65 20 | 70 72 65 76 69 6f 75 73 |ces the |previous|
|00000550| 20 73 68 6f 72 74 20 64 | 61 74 61 20 62 6c 6f 63 | short d|ata bloc|
|00000560| 6b 2c 20 73 6f 20 74 68 | 65 72 65 66 6f 72 65 20 |k, so th|erefore |
|00000570| 74 68 65 20 6f 66 66 73 | 65 74 20 6d 75 73 74 20 |the offs|et must |
|00000580| 62 65 20 76 61 6c 69 64 | 6c 79 0d 72 65 66 65 72 |be valid|ly.refer|
|00000590| 65 6e 63 69 6e 67 20 61 | 20 73 68 6f 72 74 20 64 |encing a| short d|
|000005a0| 61 74 61 20 65 6c 65 6d | 65 6e 74 20 69 6e 20 74 |ata elem|ent in t|
|000005b0| 68 65 20 6f 62 6a 65 63 | 74 2e 0d 0d 42 65 6c 6f |he objec|t...Belo|
|000005c0| 77 20 69 73 20 73 6f 6d | 65 20 73 61 6d 70 6c 65 |w is som|e sample|
|000005d0| 20 63 6f 64 65 20 77 68 | 69 63 68 20 64 65 6d 6f | code wh|ich demo|
|000005e0| 6e 73 74 72 61 74 65 73 | 20 77 72 69 74 69 6e 67 |nstrates| writing|
|000005f0| 20 61 20 68 61 6e 64 6c | 65 20 6f 66 20 64 61 74 | a handl|e of dat|
|00000600| 61 20 22 68 68 22 20 69 | 6e 74 6f 20 74 68 65 0d |a "hh" i|nto the.|
|00000610| 6f 62 6a 65 63 74 20 61 | 74 20 6f 66 66 73 65 74 |object a|t offset|
|00000620| 20 22 6f 6f 22 3a 0d 0d | 20 20 20 20 48 4c 6f 63 | "oo":..| HLoc|
|00000630| 6b 28 68 68 29 3b 0d 20 | 20 20 20 50 75 74 4c 6f |k(hh);. | PutLo|
|00000640| 6e 67 44 61 74 61 28 63 | 6f 62 6a 2c 20 6f 6f 2c |ngData(c|obj, oo,|
|00000650| 20 2a 68 68 2c 20 47 65 | 74 48 61 6e 64 6c 65 53 | *hh, Ge|tHandleS|
|00000660| 69 7a 65 28 68 68 29 29 | 3b 0d 20 20 20 20 48 55 |ize(hh))|;. HU|
|00000670| 6e 6c 6f 63 6b 28 68 68 | 29 3b 0d 0d 46 6f 72 20 |nlock(hh|);..For |
|00000680| 61 6e 20 65 78 61 6d 70 | 6c 65 20 6f 66 20 64 65 |an examp|le of de|
|00000690| 74 65 72 6d 69 6e 69 6e | 67 20 74 68 65 20 6f 66 |terminin|g the of|
|000006a0| 66 73 65 74 20 74 6f 20 | 70 6c 61 63 65 20 74 68 |fset to |place th|
|000006b0| 65 20 64 61 74 61 2c 20 | 73 65 65 20 50 75 74 53 |e data, |see PutS|
|000006c0| 68 6f 72 74 44 61 74 61 | 2e 20 20 54 68 65 20 6f |hortData|. The o|
|000006d0| 6e 6c 79 0d 64 69 66 66 | 65 72 65 6e 63 65 20 62 |nly.diff|erence b|
|000006e0| 65 74 77 65 65 6e 20 74 | 68 65 20 74 77 6f 20 63 |etween t|he two c|
|000006f0| 61 6c 6c 73 20 69 73 20 | 74 68 65 20 73 69 7a 65 |alls is |the size|
|00000700| 20 6f 66 20 74 68 65 20 | 64 61 74 61 20 65 6c 65 | of the |data ele|
|00000710| 6d 65 6e 74 2e 20 20 48 | 6f 77 20 79 6f 75 20 75 |ment. H|ow you u|
|00000720| 73 65 20 74 68 65 20 63 | 61 6c 6c 73 0d 69 73 20 |se the c|alls.is |
|00000730| 74 68 65 20 73 61 6d 65 | 2e 20 0d 0d 0d 00 3e 00 |the same|. ....>.|
|00000740| 03 00 00 00 00 00 0b 00 | 09 00 04 00 00 00 09 00 |........|........|
|00000750| 00 00 00 00 00 00 00 03 | 93 00 0b 00 09 00 04 05 |........|........|
|00000760| 00 00 09 00 00 00 00 00 | 00 00 00 03 9f 00 0b 00 |........|........|
|00000770| 09 00 04 00 00 00 09 00 | 00 00 00 00 00 |........|..... |
+--------+-------------------------+-------------------------+--------+--------+